@charset "utf-8";

* {
    margin: 0;
    padding: 0;
}

.mainbox {
    /* width: 700px; */
    background-color: #eee;
    margin: 20px auto;
}

.mainbox_form ul {
    list-style: none;
    padding: 5px;
}

.mainbox_form ul li {
    border-bottom: #ccc 1px solid;
    padding: 10px;
}

.mainbox_form ul li:first-child, .mainbox_form ul li:last-child {
    border-bottom: #444 1px solid;
}

.mainbox_form ul li h2 {
    width: 100px;
    padding-left: 20px;
    display: inline;
}

.mainbox_form ul li span {
    float: right;
    font-size: 12px;
    padding-top: 10px;
    color: #c00;
}

.mainbox_form ul li label {
    display: inline-block;
    /*width: 100px;*/
    padding: 10px 20px;
    /*float: left;*/
}

.mainbox_form ul li input, .mainbox_form ul li textarea {
    width: 200px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: url(images/red_asterisk.png) no-repeat 98% center;
    background-color: #fff;
}

.mainbox_form ul li textarea {
    width: 250px;
}

.mainbox_form ul li input, .mainbox_form ul li textarea {
    transition: padding .25s
}

.mainbox_form ul li input:focus, .mainbox_form ul li textarea:focus {
    background: url(images/invalid.png) no-repeat 98% center;
    background-color: #fff;
    padding-right: 50px;
}

.submit {
    width: 70px;
    height: 30px;
    background-color: #68b12f;
    border-radius: 3px;
    color: #fff;
    border: 1px solid #509111;
    margin-left: 140px;
    border: 1px solid #509111;
}

.submit:hover {
    cursor: pointer;
}

.mainbox_form ul li input[type="radio"]{
    width: auto;
    margin-left: 10px;
}


.mainbox_form ul li div div span {
     float: left;
     font-size: 20px;
     color: black;
}